package com.slug.dao.mapper;

import java.util.List;

import cn.com.mangrove.commons.jdbc.MybatisRepository;

import com.slug.dao.entity.OsProductImage;
@MybatisRepository
public interface OsProductImageMapper {
    int deleteByPrimaryKey(Long picImgId);

    int insert(OsProductImage record);

    int insertSelective(OsProductImage record);

    OsProductImage selectByPrimaryKey(Long picImgId);

    int updateByPrimaryKeySelective(OsProductImage record);

    int updateByPrimaryKey(OsProductImage record);
    
    List<OsProductImage> selectByProductId(Long productId);
}